package com.uadocs.project.core.services;

import com.uadocs.project.models.Currency;
import com.uadocs.project.models.Money;
import org.apache.log4j.Logger;
import org.springframework.stereotype.Service;

/**
 * Created by borlis on 31.01.14.
 */
@Service
public class MoneyService {
    private static final Logger log = Logger.getLogger(ExchangeService.class);

    private ExchangeService exchangeService;

    public Money substract(Money other) {
        return null;
    }

    public Money summ(Money other) {
        return null;
    }

    public Money multiply(Double multiplier) {
        return null;
    }

    public Money devide(Double multiplier) {
        return null;
    }

    public Money convert(Currency currency){
        return exchangeService.convert(currency);
    }
}
